package com.fruit;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

@SpringBootApplication
@EnableZuulProxy
public class FruitGatewayApplication {
    private final static Logger logger = LoggerFactory.getLogger(FruitGatewayApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(FruitGatewayApplication.class, args);
        logger.info("服务网关路由 启动成功");
    }
}
